<%-- 
    Document   : header
    Created on : Apr 17, 2011, 7:18:08 PM
    Author     : havn
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="f" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <link rel="stylesheet" lang="text/css" href="css/stlyes.css" />
        <link rel="stylesheet" lang="text/css" href="css/Style.css" />
        <script type="text/javascript"  src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>  
        <script type="text/javascript" src="js/popup.js"> </script>
        <script type="text/javascript" src="js/ajaxpatient.js"> </script>
    </head>
    <body>
        <div id="warp">
            <div id="warp_header">
                <h1>Swiss Bank Ltd</h1>
                <h3>ATM counter </h3>
            </div>
            <div id="warp_content">
                <div id="menu">
                    <div class="item">
                        <div class="menu_title">Menu</div>
                        <div class="menu_content">
                            <ul>
                                <li>
                                    <a href="index.jsp">Home</a>
                                </li>
                                <li>
                                    <a href="ProductServlet">Products</a>
                                </li>
                                <c:set var="login" value="${sessionScope.login}"></c:set>
                                <c:if test="${login == null}">
                                    <li>
                                        <a href="#?w=500" rel="popup_name" class="poplight">Login</a>  
                                    </li>
                                </c:if>
                                <c:if test="${login != null}">
                                    <li>
                                        <a href="ProductServlet">Products</a>
                                    </li>
                                    <li>
                                        <a href="DoLogout">Log Out</a>
                                    </li>
                                </c:if>
                            </ul>
                        </div>
                        <div class="clearfix"></div>
                    </div>
                    <br/>
                    <div class="item">
                        <div class="menu_title">Shopping Cart</div>
                        <div class="menu_content">
                            <p id="mycart">Items in Cart : <c:out value="${sessionScope.ShoppingCart.getCount()}"/></p>
                            <p><a href="ShoppingCart.jsp">View Cart</a></p>
                        </div>
                        <div class="clearfix"></div>
                    </div>
                </div>
                <div id="article">

